<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0">
    <title>importmap</title>
    <style>

    </style>
  </head>

  <body>
    <!-- deno实现了这种方式导入 -->
    <script type="importmap">
      {
        "imports": {
          "xxx": "https://xxx.com/xxx.js",
          "xxx2": "./xxx2.js",
        }
      }
    </script>
    <script>
      import xxx from "xxx";
      console.log(xxx)
    </script>
  </body>

</html>
